﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.views.world {
    import net.wooga.pets.interfaces.*;
    import net.wooga.pets.views.*;
    import net.wooga.pets.models.world.*;

    public class AbstractAreaMediator extends AbstractViewMediator {

		[Inject]
        public var worldModel:WorldModel;
        protected var _vo:IArea;

        override public function onRegister():void{
            this._vo = this.worldModel.getRoomById(id);
            super.onRegister();
        }
        private function get view():AbstractAreaView{
            return ((viewComponent as AbstractAreaView));
        }

    }
}//package net.wooga.pets.views.world 
